package com.ttx.pattern.example.visitor.after;

/**
 * @author TimFruit
 * @date 19-6-2 上午1:41
 */
public class Client {

    public static void main(String[] args) {

        ConcreteElement element=new ConcreteElement();
        element.put("tim", 21);
        element.put("ttx", 2);
        element.put("test", 4);


        Visitor visitor1=new ConcreteVisitor1();
        visitor1.visit(element);


        Visitor visitor2=new ConcreteVisitor2();
        visitor2.visit(element);

    }

}
